<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .whole a {
            display: inline-block;
            width: 120px;
            height: 58px;
            font-size: 15px;
            color: white;
            text-align: center;
            line-height: 58px;
            text-decoration: none;
            background-color: pink;
        }
        .whole .bg1 {
            background-image: url(images/bg1.png);
        }
        .whole .bg1:hover {
            background-image: url(images/bg11.png);
        }
        .whole .bg2 {
            background-image: url(images/bg2.png);
        }
        .whole .bg2:hover {
            background-image: url(images/bg22.png);
        }

    </style>
</head>
<body>
    <div class="whole">
        <a href="#" class="bg1">五彩导航</a>
        <a href="#" class="bg2">五彩导航</a>
        <a href="#">五彩导航</a>
        <a href="#">五彩导航</a>
        <a href="#">五彩导航</a>
    </div>
</body>
</html>